<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>上海营创</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
</head>
<body>
<div th:include="page/common/header"></div>
<div class="container-fluid">
    <!-- 内容头部 /-->
    <!-- 正文区域 -->
    <!--?redirect_uri=http://mryin.free.idcfengye.com/ceshi/5-->
    <div>
        <a id="scan" href="http://sao315.com/w/api/saoyisao"><i class="fa fa-qrcode fa-5x"></i></a>
    </div>

    <section class="content">
        <!-- 统计数值 -->
        <div class="row">
            <div class="col-lg-6 col-xs-12">
                <!-- small box -->
                <div class="small-box bg-yellow">
                    <div class="inner">
                        <h3><span th:text="${UnFinishTask}"></span></h3>

                        <p>未完成</p>
                    </div>
                    <div class="icon">
                        <i class="ion ion-clock"></i>
                    </div>
                    <a th:href="@{/UnFinish/Performance}" class="small-box-footer">详细 <i
                            class="fa fa-arrow-circle-right"></i></a>
                </div>
            </div>
            <!-- ./col -->
            <!-- ./col -->
            <!-- <div class="col-lg-6 col-xs-12">
                 &lt;!&ndash; small box &ndash;&gt;
                 <div class="small-box bg-red">
                     <div class="inner">
                         <h3><span th:text="${UnFinishTask}"></span></h3>

                         <p>未完成</p>
                     </div>
                     <div class="icon">
                         <i class="ion ion-close-circled"></i>
                     </div>
                     <a th:href="@{/UnFinish/Performance}" class="small-box-footer">详细 <i
                             class="fa fa-arrow-circle-right"></i></a>
                 </div>
             </div>-->
            <div class="col-lg-6 col-xs-12">
                <!-- small box -->
                <div class="small-box bg-aqua">
                    <div class="inner">
                        <h3><span th:text="${FinishTask}"></span></h3>
                        <p>已完成</p>
                    </div>
                    <div class="icon">
                        <i class="ion ion-checkmark-circled"></i>
                    </div>
                    <a th:href="@{/Finish/Performance}" class="small-box-footer">详细 <i
                            class="fa fa-arrow-circle-right"></i></a>
                </div>
            </div>
            <!-- ./col -->
        </div>
        <!-- /.row -->
    </section>
    <section class="content">
        <!-- 统计数值 -->
        <div class="row">
            <!--<div class="col-lg-6 col-xs-12">
                &lt;!&ndash; small box &ndash;&gt;
                <div class="small-box bg-aqua">
                    <div class="inner">
                        <h3>
                            <span th:text="${FinishTask}"></span>
                            <p>已完成</p>
                        </h3>
                    </div>
                    <div class="icon">
                        <i class="ion ion-checkmark-circled"></i>
                    </div>
                    <a th:href="@{/Finish/Performance}" class="small-box-footer">详细 <i
                            class="fa fa-arrow-circle-right"></i></a>
                </div>
            </div>-->
            <!-- ./col -->
            <!-- ./col -->
            <div class="col-lg-6 col-xs-12">
                <!-- small box -->
                <fieldset>
                    <legend>工资：</legend>
                    <div>
                        <label>收入：</label>
                        <span th:text="${income}"></span><br/>
                        <label>剩余价值：</label>
                        <span th:text="${surplusValue}"></span><br/>
                        <!--<label>底薪：</label>
                            <span th:text="${salary}"></span><br/>
                        <label>收入：</label>
                            <span th:text="${performance} + ${salary}"></span><br/>-->
                        <label>目前排名：</label><br/>
                        &nbsp;&nbsp;<!--<label>按收入排名：</label><span th:text="${rankingByNameOnIncome}"></span><br/>-->
                        &nbsp;&nbsp;<label>创造价值排名：</label><span th:text="${rankingByNameOnSurplusValue}"></span><br/>
                        &nbsp;&nbsp;<label>&nbsp;&nbsp;&nbsp;绩效排名：</label><span
                            th:text="${rankingByNameOnMonovalent}"></span>
                        &nbsp;
                        <!--&nbsp;<label>按照市场总价排名：</label><span th:text="${rankingByNameOnMarketPrice}"></span><br/>-->
                    </div>
                </fieldset>
            </div>
            <!-- ./col -->
        </div>
        <!-- /.row -->
    </section>
</div>
<hr/>
<!--<div th:include="page/common/footer" id="footer"></div>-->
<script th:src="@{/jquery-3.4.1/jquery-3.4.1.min.js}"></script>
<script>
    var qr = GetQueryString("qrresult");
    if (qr) {
        alert(qr);
        $.post("/task/QRCodeParam", {id: qr}, function (res) {
            if (res.code == 0) {
                //var url = "/ceshi/5"
                //$("#scan").attr("href","")
                window.location.href = "/ToTransmitQRCode"
            }
        })
    }
    function GetQueryString(name) {
        var reg = new RegExp("\\b" + name + "=([^&]*)");
        var r = location.href.match(reg);
        if (r != null) return decodeURIComponent(r[1]);
    }
</script>
<<!--script>
    if (location.href.split("qrresult=") > -1) {
        var id = location.href.split("qrresult=")[1];
        //lert(1);
        $.post("/ceshi/3", {id:id}, function (res) {
            if (res.code == 0) {
                layer.msg(res.msg);
                window.location.href = "/ceshi/5"
            }
        })
    }
</script>-->
</body>
</html>
